package top.infopub.mgr.ic.service;


import java.util.List;

import com.github.pagehelper.Page;

import top.infopub.mgr.ic.domain.DesignChangeDomain;
import top.infopub.mgr.ic.vo.DesignChangeVo;
import top.infopub.model.ic.DesignChange;
import top.infopub.model.ic.DesignChangeAtt;
import top.infopub.model.ic.DesignChangeDetail;
import top.infopub.generic.GenericService;


public interface DesignChangeService extends GenericService<DesignChange, String> {

    /**
     * 根据条件查询设计方案变更分页数据
     * @param designExamVo
     * @return 
     * @see
     */
    Page<DesignChangeDomain> selectByDomainWhere(Page<DesignChangeDomain> page,
                                                 DesignChangeVo designChangeVo);

    /**
     * 根据条件查询-我审批的设计方案变更分页数据
     * @param designExamVo
     * @return 
     * @see
     */
    Page<DesignChangeDomain> selectMyCheckByDomainWhere(Page<DesignChangeDomain> page,
                                                        DesignChangeVo designChangeVo);

    /**
     * 新增
     */
    void saveDesignChange(DesignChange designChange, List<DesignChangeDetail> designChangeDetails,
                          List<DesignChangeAtt> designChangeAtts);

    /**
     * 详情
     */
    DesignChangeVo queryById(String id);

}